package com.xbh.management.enums;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2022-02-28 16:52
 */

public enum LeaveStatusEnum {
    /**
     *
     请假状态(1未开始，2已取消，3审批中，4未通过，5通过)
     */

    NOT_BEGIN(1,"未开始"),
    CANCELED(2,"已取消"),
    EXAMINATION_AND_APPROVAL(3,"审批中"),
    NOT_THROUGH(4,"未通过"),
    THROUGH(5,"通过");

    private int code;
    private String name;
    private LeaveStatusEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }
    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
